home *** CD-ROM | disk | FTP | other *** search
- on change
- global bore, drumonly, switch, wait, change, check, s
- if the mouseDown then
- set wait to 1
- if the timeoutLapsed > (3 * 60) then
- startTimer()
- set bore to bore + 1
- borecheck()
- redraw()
- put "user flip" into field "debug"
- do("sel" & s & EMPTY)
- end if
- set drumonly to 0
- end if
- set switch to switch + 1
- if switch > 600 then
- dropdrums()
- set switch to 0
- end if
- set wait to wait + 1
- if wait > 120 then
- set check to 0
- set the timeoutLength to 10 * 60
- when timeOut then
- if the lastClick > (10 * 60) then
- startTimer()
- set change to random(4)
- if change = 1 then
- dropdrums()
- end if
- if change = 2 then
- dropsounds()
- end if
- if change = 3 then
- changesounds()
- end if
- if change = 4 then
- changesounds()
- end if
- set wait to 0
- end if
- end if
- if wait > 50 then
- set check to check + 1
- if check = 1 then
- set s to random(10)
- redraw()
- put "auto flip" into field "debug"
- do("sel" & s & EMPTY)
- set check to check + 1
- end if
- end if
- end
-